package com.nineclock.sign.service;

import com.nineclock.common.entity.PageResult;
import com.nineclock.sigb.dto.SignAllUserDTO;
import com.nineclock.sigb.dto.SignDTO;
import com.nineclock.sigb.dto.SignPCListDTO;

import java.io.IOException;
import java.util.List;

public interface SignInfoService {
    
    
    /**
     * 导出签到列表
     *
     * @param startTime
     * @param endTime
     */
    void exportExcel(String startTime, String endTime) throws IOException;
    
    //获取当日签到次数
    Integer getDayCount();
    
    //分页查询签到列表
    PageResult<SignPCListDTO> QueryAllSign(String startTime, String endTime, Integer page, Integer pageSize);
    
    void signAttend(SignDTO signDTO);
    
    List<SignDTO> SignCurrentUserByMonth(String dateStr);
    
    List<SignAllUserDTO> listSignAllUser(String dateStr);
}
